package com.coreservlets.jsf.ss07;

public class SearchSpec
{
	private String searchEngineName;
	private String query;
	public SearchSpec(String searchEngine, String query) {
		super();
		this.searchEngineName = searchEngine;
		this.query = query;
	}
	public String getSearchEngineName() {
		return searchEngineName;
	}
	public void setSearchEngine(String searchEngine) {
		this.searchEngineName = searchEngine;
	}
	public String getQuery() {
		return query;
	}
	public void setQuery(String query) {
		this.query = query;
	}
	
	public String makeURL( String searchString )
	{
		return( query + searchString );
	}
}
